package com.example.authservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.authservice.pojo.po.HotelPO;
import com.example.authservice.pojo.vo.HotelVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author 鱼凫
 * @version 1.0
 * Create by 2023/4/11 17:10
 */

@Mapper
@Repository
public interface HotelMapper extends BaseMapper<HotelPO> {

    public Page<HotelVO> getPageWithDistance(@Param("page") Page<HotelVO> page, HotelVO vo);

}
